/**
 * Goods has three characters: weight, type and value.
 * 
 * @author Xi
 * 
 */
public class Goods {
	private int weight;
	private GoodsType type;
	private int value;

	public Goods(int weight, GoodsType type, int value) {
		this.weight = weight;
		this.type = type;
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public GoodsType getType() {
		return type;
	}

	public void setType(GoodsType type) {
		this.type = type;
	}

}
